home *** CD-ROM | disk | FTP | other *** search
- a = getProperty("../map/platform", _X) + getProperty("../map/platform/p", _X);
- b = getProperty("../map/platform", _Y) + getProperty("../map/platform/p", _Y);
- if(_root.map.platform.p.hitTest(_X,_Y,true))
- {
- _X = a;
- _Y = b;
- if(!(a / 32 == int(a / 32) and b / 16 == int(b / 16)))
- {
- dx = 0;
- dy = 0;
- }
- }
- if(!_root.map.hitTest(_X,_Y,true))
- {
- tellTarget(_root.jug)
- {
- gotoAndPlay(1);
- }
- tellTarget(_root.audio.colision)
- {
- gotoAndPlay(2);
- }
- }
-